package com.online.questionnaire.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName options
 */
@TableName(value ="options")
@Data
public class Options implements Serializable {


    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 问题id
     */
    @TableField(value = "questionId")
    private Long questionid;

    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * value
     */
    @TableField(value = "value")
    private String value;

    /**
     * 顺序
     */
    @TableField(value = "orders")
    private Integer orders;

    /**
     * 选项类型: 0 文本  1图片
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 
     */
    @TableField(value = "updateTime")
    private Date updatetime;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}